package cn.edu.scau.cmil.linwei.comprehensive.Script;

import java.io.Serializable;

public class User implements Serializable {
    public String ID;
    public String PW;
    public String Name;
    public String UserKind;//学生 1，老师 2，管理员 0
    public String InitQuestion;
    public String InitAnswer;

    public User() {
        ID = new String();
        PW = new String();
        Name = new String();
        UserKind = new String();//0为管理员，1为学生，2为教师
        InitQuestion = new String();
        InitAnswer = new String();
    }


    public User(String ID,String PW,String Name,String UserKind,String InitQuestion,String InitAnswer){//构造方法
        this.ID = ID;
        this.PW = PW;
        this.Name = Name;
        this.UserKind = UserKind;
        this.InitQuestion = InitQuestion;
        this.InitAnswer = InitAnswer;
    }



}
